#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "mychannel.h"
#include "client.h"

#include <QMainWindow>
#include <QStandardItemModel>

namespace Ui {
	class MainWindow;
}

class MainWindow : public QMainWindow
{
	Q_OBJECT

private:
	Ui::MainWindow* ui;
	MyChannel* _myChannel;
	QWebEnginePage* page;
	Client* _tcpclient;

public:
	explicit MainWindow(QWidget* parent = 0);
	~MainWindow();

public:
	void SendInfo();
	void MoveToEast();
	void ReconnectToServer();

public slots:
	void WndDsplyData(QString data);

};

#endif // MAINWINDOW_H
